package com.cande.loki.javasist;

import java.time.Instant;

public class Test {
    public static void main(String[] args) {

        System.out.println(System.nanoTime());

        for (;;) {
            try {
                Thread.sleep(1*1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            Instant instant = Instant.now();
            System.out.println(instant.getEpochSecond() * 1000 * 1000 * 1000 + instant.getNano());
        }
    }
}
